import java.io.FileNotFoundException;

class Animal {
    public void eat() throws NullPointerException  {

    }
}

class Cat extends Animal {
    public void eat() throws RuntimeException{

    }
}

public class Test2 {

}

